<?php

namespace app\index\controller;

use app\common\controller\Frontend;
use think\Config;

class Index extends Frontend
{

    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = '';

    public function service_agreement()
    {
        $info = Config('site.service_agreement');
        $this->assign('info',$info);
        return $this->view->fetch();
    }
    public function privacy_policy()
    {
        $info = Config('site.privacy_policy');
        $this->assign('info',$info);
        return $this->view->fetch();
    }
}
